from rest_framework import serializers

from .models import *


class AreaSerializer(serializers.ModelSerializer):
    class Meta:
        model = Area
        fields = '__all__'


class PcSerializer(serializers.ModelSerializer):
    class Meta:
        model = Pc
        fields = '__all__'


class PcReadSerializer(serializers.ModelSerializer):
    class Meta:
        model = Pc
        depth = 1
        fields = '__all__'
